
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="cs-cz" xml:lang="cs-cz" >

<head>
    <title>Přihlášení | Správa webu Django</title>
    
        <meta name="robots" content="NONE,NOARCHIVE" />
    
    <!-- STYLESHEETS -->
    
        <link href="/static/grappelli/css/base.css" rel="stylesheet" type="text/css" />
        <link href="/media/css/login.css" rel="stylesheet" type="text/css" />
        
        <link href="/static/grappelli/jquery/ui/css/custom-theme/jquery-ui-1.8.custom.css" rel="stylesheet" type="text/css" media="screen" title="no title" charset="utf-8" />
        <link href="/static/grappelli/css/jquery-ui-grappelli-extensions.css" rel="stylesheet" type="text/css" />
    
    <!-- EXTRASTYLES -->
    
    <!-- JAVASCRIPTS -->
    
        <script type="text/javascript">
            // GLOBALS
            var grappelli = {},
                // TODO: klemens: drop ADMIN_URL
                ADMIN_URL = "/admin/",
                MODEL_URL_ARRAY = {1: {pk: 1, app: 'auth', model: 'permission'},2: {pk: 2, app: 'auth', model: 'group'},3: {pk: 3, app: 'auth', model: 'user'},4: {pk: 4, app: 'auth', model: 'message'},5: {pk: 5, app: 'contenttypes', model: 'contenttype'},6: {pk: 6, app: 'sessions', model: 'session'},7: {pk: 7, app: 'sites', model: 'site'},8: {pk: 8, app: 'admin', model: 'logentry'},9: {pk: 9, app: 'apftpmy', model: 'account'},10: {pk: 10, app: 'apftpmy', model: 'apachealias'},11: {pk: 11, app: 'apftpmy', model: 'accountalias'},12: {pk: 12, app: 'apftpmy', model: 'ftpuser'},13: {pk: 13, app: 'apftpmy', model: 'invoice'},14: {pk: 14, app: 'apftpmy', model: 'customer'},15: {pk: 15, app: 'svn_dav', model: 'svnrepository'},16: {pk: 16, app: 'svn_dav', model: 'svngroup'},17: {pk: 17, app: 'svn_dav', model: 'svnuserrights'},18: {pk: 18, app: 'ticket', model: 'group'},19: {pk: 19, app: 'ticket', model: 'ticket'},20: {pk: 20, app: 'ticket', model: 'comment'},22: {pk: 22, app: 'auth', model: 'userprofile'}},
                DATE_FORMAT = "%d.%m.%Y",
                TIME_FORMAT = "%H:%M:%S",
                DATETIME_FORMAT = "%d.%m.%Y %H:%M:%S";
        </script>
        
        <!-- NOTE klemens: put this in admin/includes_grappelli/header_js.html -->
        
        <!-- jQuery, jQuery-UI -->
        <script src="/static/grappelli/jquery/jquery-1.4.2.min.js" type="text/javascript"></script>
        <script src="/static/grappelli/jquery/ui/js/jquery-ui-1.8.5.custom.min.js" type="text/javascript"></script>
        <!-- Grappelli Main JS -->
        <script src="/static/grappelli/js/grappelli/grappelli.js" type="text/javascript"></script>
        <!-- Grappelli jQuery Plugins, Widgets -->
        <script src="/static/grappelli/js/grappelli/jquery.grp_collapsible.js" type="text/javascript"></script>
        <script src="/static/grappelli/js/grappelli/jquery.grp_collapsible_group.js" type="text/javascript"></script>
        <script src="/static/grappelli/js/grappelli/jquery.grp_timepicker.js" type="text/javascript"></script>
        <script src="/static/grappelli/js/grappelli/jquery.grp_related_fk.js" type="text/javascript"></script>
        <script src="/static/grappelli/js/grappelli/jquery.grp_related_m2m.js" type="text/javascript"></script>
        <script src="/static/grappelli/js/grappelli/jquery.grp_related_generic.js" type="text/javascript"></script>
        <!-- Login openid -->
        <script src="/media/js/login.js" type="text/javascript"></script>    
    <!-- EXTRAHEAD -->
    
    <script type="text/javascript">
        (function($) {
            $(window).load(function(){ $('#id_username').focus(); });
        })(django.jQuery);
    </script>

</head>
<body class="login">
    <div id="container">
        <!-- HEADER -->
        
            

<div id="header">
    <div class="branding">&nbsp;</div>
    <!-- Title -->
    <div class="admin-title">Varhoo Administrace</div>
    
    
    
</div>

<script type="text/javascript" charset="utf-8">
    (function($) {
        $(document).ready(function() {
            $("div#header .collapse").grp_collapsible();
        });
    })(django.jQuery);
</script>

            <!-- BREADCRUMBS -->
            
        
        <!-- MESSAGES -->
        
        <!-- CONTENT -->
        <div id="content" class="content-flexible">
            
            
            
            
    <div class="container-flexible login">
        <div class="column span-10 centered">
            
            <form action="./" method="post" id="login-form">
               {% csrf_token %}
                <fieldset class="module">
                	<div id="id_row_login">
                    <div class="row" >
                        <div class="column span-4"><label for="id_username" class="required">Uživatelské jméno:</label></div>
                        <div class="column span-6 last"><input type="text" name="username" id="id_username" /></div>
                    </div>
                    <div class="row">
                        <div class="column span-4"><label for="id_password" class="required">Heslo:</label></div>
                        <div class="column span-6 last">
                            <input type="password" name="password" id="id_password" />
                            <input type="hidden" id="id_login_type" name="this_is_the_login_form" value="1" />
                            <input type="hidden" name="next" value="/admin/login/" />
                        </div>
                    </div>
                    </div>
                    <div id="id_row_mojeid">
                    <div class="row" >
                        <div class="column span-4"><label for="id_openid" class="required">Adresa:</label></div>
                        <div class="column span-6 last"><input type="text" name="openid_identifier" id="id_openid" /></div>
                    </div>
                    </div>
                    <div class="row">
                    <a href="#mojeid" id="id_mojeid_href"><img src="/media/images/mojeid.png" width="70"/></a>
                    </div>
                </fieldset>
                <div class="module submit-row">
                    <ul class="submit-row">
                        <li class="submit-button-container"><input type="submit" class="default" value="Přihlášení" /></li>
                    </ul>
                </div>
            </form>
        </div>
    </div>
    
    <!--
    Debug openid
    -->
    {% if url %}
    <div class="message">
      OpenID authentication succeeded; you authenticated as
        <a href="{{ url }}">{{ url|escape }}</a>.

      <p>
      {% if sreg_response %}
        Simple Registration data returned:
        <ul>
        {% for key, value in sreg_response %}
          <li>{{ key }}: {{ value }}</li>
        {% endfor %}
        </ul>
      {% else %}
        The server returned no Simple Registration data.
      {% endif %}

      {% if ax_response %}
        Attribute Exchange data returned:
        <ul>
        {% for pair in ax_response %}
        <li>{{ pair.0 }}: {{ pair.1|join:", " }}</li>
        {% endfor %}
        </ul>
      {% else %}
        The server returned no Attribute Exchange data.
      {% endif %}

      {% if pape %}
        An authentication policy response contained these policies:

        <ul>
          {% for uri in pape.auth_policies %}
            <li><tt>{{ uri }}</tt></li>
          {% endfor %}
        </ul>
      {% else %}
        The server returned no authentication policy data (PAPE).
      {% endif %}
      </p>
    </div>
  {% endif %}

  {% if message %}
    <div class="message">
      {{ message|escape }}
    </div>
  {% endif %}

  {% if failure_reason %}
    <div class="error">
      {{ failure_reason|escape }}
    </div>
  {% endif %}
  

            <br class="clear" />
        </div>
        <!-- FOOTER -->
        <div id="footer"></div>
    </div>
</body>
</html>